package report.design.mainframe;

import java.util.Hashtable;

public class DesignerContext {

	private static Hashtable<Object, Object> prop = new Hashtable<Object, Object>();
	
	public static DesignerFrame getDesignerFrame() {
		return (DesignerFrame) getProperty("DesignerFrame");
	}
	
	public static void setDesignerFrame(DesignerFrame designerFrame) {
		setProperty("DesignerFrame", designerFrame);
	}

	private static Object getProperty(Object key) {
		return prop.get(key);
	}
	
	private static void setProperty(Object key, Object value) {
		prop.put(key, value);
	}
}
